303a879d94228e206a25ddf25d4c2cce26fca1c3,src/test/java/com/zendesk/maxwell/BootstrapIntegrationTest.java,BootstrapIntegrationTest,testStringTypes,#,100

Before Change


		testColumnType("datetime", "'0000-00-00 00:00:00'", null);

		testColumnType("timestamp", "'2015-11-07 01:02:03'","2015-11-07 01:02:03");
		testColumnType("timestamp", "'0000-00-00 00:00:00'","" + epoch.substring(0, epoch.length() - 2) + "", null);

		testColumnType("enum('a', 'b')","'a'", "a");
		testColumnType("bit(8)","b'01010101'", 85);

After Change


		testColumnType("date", "'2015-11-07'","2015-11-07");
		testColumnType("datetime", "'2015-11-07 01:02:03'","2015-11-07 01:02:03");

		if ( !server.getVersion().equals("5.7") ) {
			testColumnType("date", "'0000-00-00'",null);
			testColumnType("datetime", "'0000-00-00 00:00:00'", null);
			testColumnType("timestamp", "'0000-00-00 00:00:00'","" + epoch.substring(0, epoch.length() - 2) + "", null);
		}

		testColumnType("datetime", "'1000-01-01 00:00:00'","1000-01-01 00:00:00");